<?php
class Pages extends MX_Controller
{
    function __construct()
    {
        parent::__construct();                     
    }
    function index($id=0)
    {
        $post = new Post();                                                                                                         
        $data['page'] = $post->get_by_id($id);         
        $this->common->load_template('pages_index',$data);
    }        
}
?>